package com.fdd.op.sdk.request.api.sealtype;

import com.fdd.op.sdk.ApiRuleException;
import com.fdd.op.sdk.BaseFddRequest;
import com.fdd.op.sdk.constants.Constants;
import com.fdd.op.sdk.internal.mapping.RequestField;
import com.fdd.op.sdk.response.api.sealtype.GetListResponse;

import java.util.Map;

public class GetListRequest extends BaseFddRequest<GetListResponse> {
    @Override
    public String getApiMethodName() {
        return "/base/api/sealType/getList";
    }

    @Override
    public Map<String, Object> getTextParams() {
        return null;
    }

    @Override
    public Class<GetListResponse> getResponseClass() {
        return GetListResponse.class;
    }

    @Override
    public void check() throws ApiRuleException {

    }

    @Override
    public String getHttpMethod() {
        return Constants.METHOD_GET;
    }

    @RequestField
    private String companyId;

    @RequestField
    private String tpOrgId;

    @RequestField
    private String sealTypeId;

    @RequestField
    private String sealType;

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getTpOrgId() {
        return tpOrgId;
    }

    public void setTpOrgId(String tpOrgId) {
        this.tpOrgId = tpOrgId;
    }

    public String getSealTypeId() {
        return sealTypeId;
    }

    public void setSealTypeId(String sealTypeId) {
        this.sealTypeId = sealTypeId;
    }

    public String getSealType() {
        return sealType;
    }

    public void setSealType(String sealType) {
        this.sealType = sealType;
    }
}
